<%-- 
    Document   : header
    Created on : 16-Jul-2013, 14:18:05
    Author     : MrMAD
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Book Store</title>
        <meta name="keywords" content="Book Store" />
        <meta name="description" content="Hoa Lac Book Store" />
        <link href="MyCss/mycss.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="templatemo_header">
            <div id="templatemo_special_offers">
                <p>
                    <span>25%</span> discounts for
                    purchase over $80
                </p>
                <a href="#" style="margin-left: 50px;">Read more...</a>
            </div>


            <div id="templatemo_new_books">
                <ul>
                    <li>Suspen disse</li>
                    <li>Maece nas metus</li>
                    <li>In sed risus ac feli</li>
                </ul>
                <a href="#" style="margin-left: 50px;">Read more...</a>
            </div>
        </div> <!-- end of header -->
        <div id="templatemo_menu">
            <ul>
                <li><a href="index.jsp">Books</a></li>
                <li><a href="search.jsp">Search</a></li>
                <li><a href="account.jsp">My Account</a></li> 
                <li><a href="cart.jsp">My cart</a></li>                         
                <li><a href="contact.jsp">Contact</a></li>      
                <%
                String name = (String)session.getAttribute("name");
                if(name == null || name == ""){
                    name = "Guest";
                }
                %>
                <li id="account">Welcome <%= name %></li>
            </ul>
        </div> <!-- end of menu -->
    </body>
</html>
